// CourseDetailDTO.java
package com.example.teacherservice.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class CourseDetailDTO {
    private Long id;
    private String name;
    private String introduction;
    private String pictureUrl;
    private Long price;
    private Long collectionCount;
    private Long likeCount;
    private Long shareCount;
    private Long clicks;
    private Long purchaseCount;
    private Boolean purchased;
    private List<ChapterDTO> chapters;
    private List<CourseAppraiseDTO> appraises;
}